package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
@Data
@TableName("returnOrder")
public class ReturnOrder {
      @TableId(value = "id",type = IdType.AUTO)
      private Long id;
      @TableField("orderNum")
      private String orderNum;
      @TableField("reason")
      private String reason;
      @TableField("returnDate")
      private String returnDate=String.valueOf(LocalDate.now());
      @TableField("returnOrderNum")
      private Long returnOrderNum;
      @TableField("modeOfPayment")
      private String modeOfPayment;
}
